package Exercicios2;


public class Foo extends java.util.LinkedList{

	public int a;

	public Foo() {
		a = 3;
	}

	public void addFive() {
		a += 5;
	}
	
	public void addPlayer(Bar p) {
		add(p);
	}
	
	public void compete(Foo opponent) { /* more code here */ }

}
